package com.woniuxy.dto;

import com.work.framework.pojo.Site;

import java.math.BigDecimal;

/**
 * @author Administrator
 * @title: OrderDTO
 * @projectName mashangpai
 * @description: TODO
 * @date 2019/9/179:36
 */

/**
 * 订单显示类
 */
public class OrderDTO {
    private Integer oid;                      //订单编号
    private String expressNum;                //快递单号
    private String orderNum;                  //订单号
    private Integer bid;                      //买家用户编号（用户表主键）
    private String bname;                     //买家姓名
    private Integer sid;                        //收货地址
    private Integer gid;                      //商品编号（商品表主键）
    private String gname;                     //商品名字
    private String url;                       //商品图片
    private Integer cid;                      //商品种类ID
    private String cname;                     //商品种类名字
    private Integer vid;                      //卖家编号
    private String vname;                     //卖家名字
    private BigDecimal transactionPerice;     //成交价格
    private BigDecimal charges;                //手续费
    private String buildTime;                   //创建时间
    private String paymentTime;                 //支付时间
    private String dealTime;                   //成交时间
    private Integer flage;                    //软删除（0.删除 1.未完成 2.过期 3.成交）

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getExpressNum() {
        return expressNum;
    }

    public void setExpressNum(String expressNum) {
        this.expressNum = expressNum;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getVname() {
        return vname;
    }

    public void setVname(String vname) {
        this.vname = vname;
    }

    public BigDecimal getTransactionPerice() {
        return transactionPerice;
    }

    public void setTransactionPerice(BigDecimal transactionPerice) {
        this.transactionPerice = transactionPerice;
    }

    public BigDecimal getCharges() {
        return charges;
    }

    public void setCharges(BigDecimal charges) {
        this.charges = charges;
    }

    public String getBuildTime() {
        return buildTime;
    }

    public void setBuildTime(String buildTime) {
        this.buildTime = buildTime;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public Integer getFlage() {
        return flage;
    }

    public void setFlage(Integer flage) {
        this.flage = flage;
    }

    @Override
    public String toString() {
        return "OrderDTO{" +
                "oid=" + oid +
                ", expressNum='" + expressNum + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", bid=" + bid +
                ", bname='" + bname + '\'' +
                ", sid=" + sid +
                ", gid=" + gid +
                ", gname='" + gname + '\'' +
                ", url='" + url + '\'' +
                ", cid=" + cid +
                ", cname='" + cname + '\'' +
                ", vid=" + vid +
                ", vname='" + vname + '\'' +
                ", transactionPerice=" + transactionPerice +
                ", charges=" + charges +
                ", buildTime='" + buildTime + '\'' +
                ", paymentTime='" + paymentTime + '\'' +
                ", dealTime='" + dealTime + '\'' +
                ", flage=" + flage +
                '}';
    }
}
